<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>


<style type="text/css">
.STYLE10 {
	width: 70px;
	height: 22px;
	color: #06F;
	border: 1px solid #dbb119;
	font-size: 18px;
	line-height: normal;
	cursor: pointer;
	font-family: "黑体";
	text-align: center;
}

.STYLE8 {
	text-align: right;
}
</style>
<script type="text/javascript">
	function re_print() {
		if(if_ip){
			$.post(
					"order_bar_re_prn.action",
					$("#bar_re_prn_form").serialize(),
					function(data) {
							$("#bar_prn_cn").html(data.comNum);
							$("#bar_prn_barcode").html("<img src='/yhm_ssh"+data.file+"' width='382' height='106'>");
							if(data.pplb_title == "1"){
								alert("打印机打印失败");
							}
						});
			}else{
				alert('无权限');	
			}
		}
</script>

<div id="bar_re_prn"
	style="padding:5px; text-align: center;">
	<div class="ftitle">
		<h1>条码打印</h1>
	</div>
	<form id='bar_re_prn_form' method='post'>
		<div class="u_fitem">
			<label>编&nbsp;码：</label>
			<input name="companyNum" style="IME-MODE: disabled;"  maxlength="16"  type="text" />
			<label class="STYLE8">（必填，必须为16位）</label>
		</div>
		&nbsp; 
		&nbsp; 
		<div class="u_fitem">
			<input type="button" class="STYLE10" value="打印" onclick="re_print()"/>
		</div>
	</form>
</div>
<div style="color: red" align="center">
		<span id="bar_prn_cn"></span>
	</div>
	<div id="bar_prn_barcode" align="center"></div>